Finishes the learner assignment.
Parent Type: SlkStore
Namespace: Microsoft.SharePointLearningKit
Assembly: Microsoft.SharePointLearningKit.dll
| C# |
|
public void FinishLearnerAssignment ( ) |
learnerAssignmentId
The ID of the learner assignment to finish.
| Exception type | Condition |
| SafeToDisplayException | An error occurred that can be displayed to a browser user. Possible cause: the learner assignment isn't in the correct state, it is an elearning assignment, or the user isn't an instructor or learner on the assignment. |
This method should be called after a session is completed in order to update the information in the LearnerAssignment, auto-return the LearnerAssignment if necessary, and other related operations.
Security: Fails if the current user doesn't have the right to finish the learner assignment.